package cn.wetcland.urban.admin.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class ArticleUpdateDTO {

    @NotNull(message = "请输入文章ID")
    private Long articleId;

    /**
     *
     */
    @NotBlank(message = "请输入文章标题")
    private String articleTitle;

    /**
     *
     */
    @NotBlank(message = "请输入文章HTML")
    private String articleHtml;

    /**
     *
     */
    @NotNull(message = "请输入文章优先级")
    private Integer priority;

    /**
     * 0都能看 1消费者 2司机
     */
    @NotNull(message = "请输入面向群体")
    private Integer type;

}
